﻿using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Coldairarrow.Entity.PB
{
    /// <summary>
    /// 单个物料入库通知表
    /// </summary>
    [Table("PB_JobMaterial")]
    public partial class PB_JobMaterial
    {

        /// <summary>
        /// Id
        /// </summary>
        [Key, Column(Order = 1)]
        public String Id { get; set; }

        /// <summary>
        /// 报工Id（PB_JobBooking）
        /// </summary>
        public String ParentId { get; set; }

        /// <summary>
        /// 物料Id
        /// </summary>
        public String MaterialId { get; set; }

        /// <summary>
        /// 数量
        /// </summary>
        public Double? Nums { get; set; }

        /// <summary>
        /// 实际通知入库数量
        /// </summary>
        public Double? InNums { get; set; }

        /// <summary>
        /// 状态：0-未通知入库；1-已通知入库
        /// </summary>
        public Int32? Status { get; set; }

        /// <summary>
        /// 创建人
        /// </summary>
        public string CreatorId { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreateTime { get; set; }

        /// <summary>
        /// 删除状态：0=未删除；1＝已删除；
        /// </summary>
        public Boolean? Deleted { get; set; }

        /// <summary>
        /// 入库通知单Id
        /// </summary>
        public string NoticeId { get; set; }

        /// <summary>
        /// 任务单Id
        /// </summary>
        public string OrderId { get; set; }


    }
}